package com.cykj.util;

public class ResponseDto {
    private int code;
    private String msg;
    private Object data;

    public int getCode() {
        return this.code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return this.msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Object getData() {
        return this.data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    public ResponseDto(int code, String msg, Object data) {
        this.code = code;
        this.msg = msg;
        this.data = data;
    }

    public String toString() {
        return "ResponseDto{code=" + this.code + ", msg='" + this.msg + '\'' + ", data=" + this.data + '}';
    }

}
